* {
    margin: 0;
    padding: 0;
}

.w {
    width: auto;
    margin: auto;
}

.header {
    height: 80px;
    background-color: rgb(223, 234, 236);
    border-top: 1px solid rgb(236, 234, 234);
    border-radius: 2px;
    box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.5);



}

.logo img {
    width: 40px;
    height: 40px;
    padding: 20px;
    float: left;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: rotate(360deg);
}

.nav {
    text-align: center;
    float: left;
    margin-left: 30%;
    margin-top: 20px;
}

.nav ul {
    list-style: none;
}

.nav ul li {
    float: left;
    display: block;
    width: 140px;

}

.nav ul li img {
    width: 20px;
    height: 20px;
    float: left;
    padding-left: 10px;
    padding-top: 10px;
    padding-right: 5px;

}

.nav ul li a {
    color: #333;
    display: block;
    height: 40px;
    width: 100px;
    padding: 0 10px;
    text-decoration: none;
    font-size: 18px;
    padding-top: 6px;
    transition: transform 0.3s ease;

}

.nav ul li a:hover {
    transform: scale(1.1);
}

/* 语言下拉框 */



/* 登录界面 */
/* 全局样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: none;
    min-height: 100vh;
    margin: 0;
    position: relative;
    /* 为了让登录按钮相对于 body 定位 */
}

/* 登录按钮样式 */
#loginButton {
    padding: 12px 24px;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: absolute;
    /* 绝对定位 */
    top: 20px;
    /* 距离顶部 20px */
    right: 20px;
    /* 距离右侧 20px */
}

#loginButton:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* 弹窗背景样式 */
.modal {
    display: none;
    /* 确保初始状态下弹窗是隐藏的 */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    justify-content: center;
    align-items: center;
}

/* 弹窗内容样式 */
.modal-content {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    width: 380px;
    padding: 30px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 关闭按钮样式 */
.close {
    color: #999;
    float: right;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

/* 表单标题样式 */
.modal-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

/* 表单输入框样式 */
.modal-content input[type="text"],
.modal-content input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.modal-content input[type="text"]:focus,
.modal-content input[type="password"]:focus {
    border-color: #2ecc71;
    outline: none;
}

/* 密码输入框容器样式 */
.password-input {
    position: relative;
}

/* 小眼睛图标样式 */
.toggle-password {
    position: absolute;
    right: 10px;
    top: 34%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
}

/* 忘记密码链接样式 */
.forgot-password {
    display: block;
    text-align: right;
    color: #2ecc71;
    text-decoration: none;
    margin-bottom: 20px;
}

/* 登录提交按钮样式 */
.modal-content input[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.modal-content input[type="submit"]:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* 注册链接样式 */
.register-link {
    display: block;
    text-align: center;
    color: #2ecc71;
    text-decoration: none;
    margin-top: 20px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.register-link:hover {
    opacity: 1;

}

/* 标题部分 */
.g-container {
    width: 100%;
    margin-top: 70px;
    float: left;
    text-align: center;
}

.biaoti {
    position: relative;
    font-size: 100px;
    font-weight: bold;
    background: #fff;
    color: #4818c1;
    overflow: hidden;

    &::before,
    &::after {
        content: "";
        position: absolute;
        top: -923px;
        left: 50%;
        width: 2000px;
        height: 2000px;
        border-radius: 45% 48% 43% 47%;
        transform: translate(-50%, -50%);
        background: rgba(3, 169, 244, .85);
        animation: rotate 10s infinite linear;
        z-index: auto;
        mix-blend-mode: lighten;
    }

    &::after {
        border-radius: 43% 47% 44% 48%;
        animation: rotate 10s infinite .5s linear;
    }
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 上传主体部分 */

.first {
    padding: auto;
    float: left;
    width: 200px;
    height: 200px;
    text-align: center;
    background: none;
    margin-top: 80px;
    margin-left: 565px;
    transition: transform 0.2s ease;

}

.first:hover {
    transform: scale(1.2);
}

.second {
    padding: auto;
    float: left;
    width: 200px;
    height: 200px;
    background: none;
    margin-top: 80px;
    margin-left: 75px;
    transition: transform 0.2s ease;
}

.second:hover {
    transform: scale(1.2);
}

.oldPicture {
    width: 100px;
    height: 100px;
    border: 2px dashed rgb(153, 164, 170);

}


.chose1 {
    display: block;
    padding-left: 15px;
}

.chose2 {
    display: block;
    width: 69px;
    padding-left: 0px;
    margin-left: 15px;
}

.oldPicture img {
    width: 100px;
    height: 100px;
    transition: transform 0.3s ease;
}

.oldPicture img:hover {
    transform: rotate(90deg);

}

.newPicture {
    width: 100px;
    height: 100px;
    border: 2px dashed rgb(153, 164, 170);

}

.newPicture img {
    width: 100px;
    height: 100px;
    transition: transform 0.3s ease;
}

.newPicture img:hover {
    transform: rotate(90deg)
}

.newPicture p {
    text-align: center;
}

.chose3 {
    display: block;
    padding-left: 15px;
}

.chose4 {
    display: block;
    width: 69px;
    padding-left: 0px;
    margin-left: 15px;
}

/* .start {
    float: left;
    width: 100%;
    padding: auto;
    text-align: center;
    margin-top: 90px;
}

.start-button {
    width: 140px;
    height: 55px;
    border: none;
    font-size: 20px;
    border-radius: 15px;
    cursor: pointer;
    background: linear-gradient(to right, #007BFF, #6C63FF);
    /* 添加过渡效果，使悬停时颜色变化更平滑 */
/* transition: background 0.3s ease;

}

.start-button:hover {
    background: linear-gradient(to left, #007BFF, #6C63FF);
}  */

/* 开始按钮 */
.start {
    float: left;
    width: 100%;
    text-align: center;
    margin-top: 80px;
}

.button-with-icon {
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #0f988e;
    font-family: "Istok Web", sans-serif;
    letter-spacing: 1px;
    text-align: center;
    width: 120px;
    height: 40px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: normal;
    border-radius: 3px;
    outline: none;
    user-select: none;
    cursor: pointer;
    transform: translateY(0px);
    position: relative;
    box-shadow:
        inset 0 30px 30px -15px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 20px rgba(0, 0, 0, 0),
        0 3px 0 #0f988e,
        0 3px 2px rgba(0, 0, 0, 0.2),
        0 5px 10px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.1);
    background: #15ccbe;
    color: white;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
    transition: 150ms all ease-in-out;
}

.button-with-icon .icon {
    margin-right: 8px;
    width: 24px;
    height: 24px;
    transition: all 0.5s ease-in-out;
}

.button-with-icon:active {
    transform: translateY(3px);
    box-shadow:
        inset 0 16px 2px -15px rgba(0, 0, 0, 0),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 1px 20px rgba(0, 0, 0, 0.1),
        0 0 0 #0f988e,
        0 0 0 2px rgba(255, 255, 255, 0.5),
        0 0 0 rgba(0, 0, 0, 0),
        0 0 0 rgba(0, 0, 0, 0);
}

.button-with-icon:hover .text {
    transform: translateX(80px);
}

.button-with-icon:hover .icon {
    transform: translate(23px);
}

.text {
    transition: all 0.5s ease-in-out;
}